home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / qw12inst.zip / EXCLUDE.TEC < prev    next >
Text File  |  1991-12-18  |  9KB  |  220 lines

  1. ID:EX  Using QEMM-386's Analysis Procedure to Find Memory Conflicts
  2. Quarterdeck Technical Note #219
  3. By  Quarterdeck Testing & Compatibility Department
  4.  
  5.                                  EXCLUDE
  6.  
  7.      The purpose of this document is to explain the use of QEMM-386's 
  8. ANALYSIS feature for the purpose of finding other users of the address 
  9. space between 640K and 1024K that QEMM-386 is not finding on boot and
  10. must be EXCLUDEd explicitly on the QEMM386.SYS line of the CONFIG.SYS.
  11. If you are using Stealth, the issue discussed here should be addressed
  12. with the technote, STEALTH.TEC.
  13.  
  14.  
  15. WHAT IS ANALYSIS?
  16.  
  17.       Whenever QEMM-386 is "on" it monitors the use of the first megabyte 
  18. address space.  The QEMM-386/ANALYSIS screen of MANIFEST shows what 
  19. portions of the address space need to be excluded with the letter X (red 
  20. on color monitors) if QEMM-386 is not creating high RAM.
  21.  
  22.  
  23. WHY SHOULD I USE ANALYSIS?
  24.  
  25.       If you are getting an Exception #13, are unable to access your 
  26. network when QEMM-386 is installed, cannot access a floppy, print, run 
  27. some program, lock-up at some identifiable point in operating your 
  28. computer (from booting to running your word processor), or have some 
  29. other problem when running QEMM-386 that you do not have when you do not 
  30. run QEMM-386, then the ANALYSIS procedure may be a useful diagnostic 
  31. process.
  32.  
  33.  
  34. WHY IS THIS NECESSARY?
  35.  
  36.       This procedure is necessary sometimes because Adapter ROMs and 
  37. Adapter RAMs do not identify themselves in such a way as to be detected 
  38. properly by QEMM-386.  Adapter ROMs are supposed to identify their 
  39. length in the third byte of the ROM itself but sometimes put a smaller 
  40. size.  Adapter RAMs that are not active at boot look exactly like 
  41. unoccupied address space.  QEMM-386 maps unused portions of the 
  42. system BIOS ROM and will map over such adapter ROMs and RAMs.  Some 
  43. special CGA video cards have two pages of video:  one at B800-BBFF, the 
  44. second at BC00-BFFF.  QEMM-386 often maps over the second page, causing 
  45. a conflict if you run a program that tries to use the second page.  In 
  46. rare circumstances there are programs that use portions of the high 
  47. address space directly.
  48.  
  49.  
  50. HOW DOES ANALYSIS WORK?
  51.  
  52.       The QEMM-386/ANALYSIS screen of MANIFEST is a cross-reference 
  53. between the QEMM-386/TYPE and QEMM-386/ACCESSED screens.  The TYPE 
  54. screen shows who QEMM-386 thinks is using the address space:  Video, 
  55. ROM, Page frame, High RAM, etc.  The ACCESSED screen shows whether the 
  56. address space has been accessed.  When QEMM-386 is not itself accessing 
  57. the high address space (as it will when the RAM parameter is on the 
  58. QEMM386.SYS line of the CONFIG.SYS) and QEMM-386 is finding that some 
  59. portion of the address space is being accessed yet QEMM-386 is not 
  60. detecting the existence of a video card, ROM, adapter RAM or ROM, or the 
  61. like in this same portion of the address space, but is finding it 
  62. "mappable" instead, then the ANALYSIS screen will report that this 
  63. portion of the address space must be EXCLUDEd.
  64.  
  65.  
  66. How do I use ANALYSIS to find EXCLUDEs?
  67.  
  68.       First remove the RAM parameter from the QEMM386.SYS line of the 
  69. CONFIG.SYS and add the ON parameter.  This is to make sure that QEMM386 
  70. is not itself a user of the high address space and that it is on.  Then 
  71. reboot the machine and run the software that was causing the problem.  
  72. The problem should not recur.  Then, without rebooting, look at the 
  73. QEMM-386/ANALYSIS screen of MANIFEST.  If you see Xs then these are 
  74. portions of the address space that must be EXCLUDEd on the QEMM386.SYS 
  75. line of the CONFIG.SYS.  See the QEMM-386 manual section on the syntax 
  76. of the EXCLUDE parameter.
  77.      If the QEMM-386 is putting the page frame over a portion of the 
  78. address space that QEMM-386 should not be mapping then it may be 
  79. necessary to put the parameter FR=NONE on the QEMM386.SYS line of the 
  80. CONFIG.SYS during the ANALYSIS process.
  81.      Once you are done with the ANALYSIS process you can restore the 
  82. RAM parameter to the QEMM386.SYS line along with the appropriate 
  83. EXCLUDEs.
  84.  
  85.  
  86. HOW CAN ANALYSIS FAIL?
  87.  
  88.       The only serious pitfall to the ANALYSIS process is that there are 
  89. users of the high address space that use the high address space only 
  90. momentarily.
  91.      There is a Bernoulli Box that has an Adapter ROM that goes in the 
  92. high address space.  When the device driver for the Bernoulli Box loads 
  93. it searches for itself at the beginning of every 8K portion of the 
  94. address space beginning at C800.  If the Adapter ROM is at DC00 (say) 
  95. then the device driver will access every other 4k of the address space 
  96. from C800 to DC00, causing Xs to appear on the ANALYSIS screen every 
  97. other block in this area even though the areas between C800-DBFF are 
  98. only being used during the searching process.  These areas need not be 
  99. excluded, only, possibly, the DC00-DEFF, where the Adapter ROM of the 
  100. Bernoulli Box resides.
  101.      When you go into enhanced mode of Microsoft's Windows then QEMM-386 
  102. is not active and the ANALYSIS process is not useful for the period of 
  103. time that you are in enhanced mode.
  104.  
  105.  
  106. WHAT COST CAN THERE BE IN EXCLUDING AN AREA?
  107.  
  108.       EXCLUDing a portion of the address space will only cost you, at the 
  109. worst, a bit of usable high RAM.  It will not make your system 
  110. malfunction in any other way.
  111.      If you add an EXCLUDE you should run OPTIMIZE again because your 
  112. available high RAM regions have been resized and, possibly, renumbered.
  113.  
  114.  
  115. WHAT ABOUT THOSE GREEN "I"S?
  116.  
  117.       The green I you see on the QEMM-386/ANALYSIS screen indicates that 
  118. this portion of the address space has not been accessed by anyone YET 
  119. and QEMM-386 is not mapping this portion of the address space.  It is 
  120. quite possible that this portion of the address space will be accessed 
  121. later.  (The portion of the system BIOS rom that contains the code for 
  122. controlling the floppy drive may report that it is INCLUDable until you 
  123. actually use the drive.  If you INCLUDE it you will have no problem 
  124. until you access a floppy.)  The QEMM-386 manual discusses the use of 
  125. the ANALYSIS process for this purpose; this document does not.
  126.  
  127. SUMMARY
  128.  
  129.       Quarterdeck has done its best to identify users of the high address 
  130. space but it is not 100% successful.  ANALYSIS is a tool to allow the 
  131. user to find high address space users he/she cannot identify through the 
  132. documentation of his/her hardware.
  133.  
  134.  
  135. EXAMPLE
  136.  
  137.      To begin the ANALYSIS process the QEMM-386 line of the CONFIG.SYS 
  138. will look like:
  139.      device=c:\qemm\qemm386.sys on
  140.  
  141.      QEMM-386/TYPE
  142.  
  143.    n=0123 4567 89AB CDEF
  144. 0n00 XXXX XXXX XXXX XXXX      
  145. 1n00 ++++ ++++ ++++ ++++   
  146. 2n00 ++++ ++++ ++++ ++++
  147. 3n00 ++++ ++++ ++++ ++++
  148. 4n00 ++++ ++++ ++++ ++++
  149. 5n00 ++++ ++++ ++++ ++++
  150. 6n00 ++++ ++++ ++++ ++++
  151. 7n00 ++++ ++++ ++++ ++++
  152. 8n00 ++++ ++++ ++++ ++++
  153. 9n00 ++++ ++++ ++++ ++++
  154. An00 VVVV VVVV VVVV VVVV
  155. Bn00 ++++ ++++ VVVV VVVV
  156. Cn00 RRRR RRRR ++++ ++++
  157. Dn00 A+++ ++++ ++++ ++++
  158. En00 FFFF FFFF FFFF FFFF
  159. Fn00 ++++ +++R RRRR RRRR
  160.  
  161.      Look at the Dn00 line:  QEMM-386 is identifying an Adapter RAM in 
  162. D000-D0FF.
  163.  
  164.      QEMM-386/ACCESSED
  165.  
  166.    n=0123 4567 89AB CDEF
  167. 0n00 WWWW AAAA AWWW WWWW
  168. 1n00 WWWW WWWW WWWW WWWW
  169. 2n00 WWWW WWWW WWWW WWUU
  170. 3n00 UUUU UUUU UUUU UUUU
  171. 4n00 UUUU UUUU UUUU UUUU
  172. 5n00 UUUU UUUU UUUU UUUU
  173. 6n00 UUUU UUUU UUUW WWWW
  174. 7n00 WWWW WWWW WWWW WWWW
  175. 8n00 WUUU UUUU WWUU UUUU
  176. 9n00 UUUU UUUU WWWW WWWW
  177. An00 WWUU UUUU UUUU UUUU
  178. Bn00 UUUU UUUU WWWW WWWW
  179. Cn00 WWWW WWWW UUUU UUUU
  180. Dn00 WWAA UUUU UUUU UUUU
  181. En00 UUUU UUUU UUUU UUUU
  182. Fn00 UUUU UUUU UUUU UUUW
  183.  
  184.      Look at the Dn00 line:  QEMM-386 is detecting that D000-D3FF is 
  185. actually being accessed, D000-D1FF being written to and D200-D3FF only 
  186. being read.
  187.  
  188.      QEMM-386/ANALYSIS
  189.  
  190.    n=0123 4567 89AB CDEF
  191. 0n00 OOOO OOOO OOOO OOOO
  192. 1n00 OOOO OOOO OOOO OOOO
  193. 2n00 OOOO OOOO OOOO OOOO
  194. 3n00 OOOO OOOO OOOO OOOO
  195. 4n00 OOOO OOOO OOOO OOOO
  196. 5n00 OOOO OOOO OOOO OOOO
  197. 6n00 OOOO OOOO OOOO OOOO
  198. 7n00 OOOO OOOO OOOO OOOO
  199. 8n00 OOOO OOOO OOOO OOOO
  200. 9n00 OOOO OOOO OOOO OOOO
  201. An00 OOOO OOOO OOOO OOOO
  202. Bn00 OOOO OOOO OOOO OOOO
  203. Cn00 OOIO OIOO OOOO OOOO
  204. Dn00 OXXX OOOO OOOO OOOO
  205. En00 OOOO OOOO OOOO OOOO
  206. Fn00 OOOO OOOO OOOO OOOO
  207.  
  208.      Look at the Dn00 line:  ANALYSIS is pointing out to me that I need 
  209. to exclude D100-D3FF.  I have a network card at D000, QEMM-386 is 
  210. identifying it as having only a 4K adapter RAM on boot while it really 
  211. has a 16K adapter RAM.  ACCESSED is reporting that 16K is being accessed 
  212. and ANALYSIS is pointing out that the additional 12K must be EXCLUDEd.  
  213. My new CONFIG.SYS will have this line:
  214.  
  215. device=c:\qemm\qemm386.sys ram x=d100-d3ff
  216.  
  217.            Copyright (C) 1991 by Quarterdeck Office Systems
  218.                   * * *   E N D   O F   F I L E * * *
  219.  
  220.